/*
 * @Author: 聆风
 * @Date: 2025-08-23 23:07:00
 * @LastEditors: 聆风 522361856@qq.com
 * @LastEditTime: 2025-08-24 18:29:58
 * @FilePath: \​monoFE​​\apps\vue3-example\vite.config.ts
 *
 * Copyright (c) 2025 by 聆风, All Rights Reserved.
 */
import { fileURLToPath, URL } from 'node:url'

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vite.dev/config/
export default defineConfig({
  plugins: [vue()],
  build: {
    outDir: 'dist',
    sourcemap: true,
    emptyOutDir: true,
  },
  resolve: {
    alias: {
      '@': fileURLToPath(new URL('./src', import.meta.url)),
    },
  },
})
